/********************************************************************
	Copyright (c) 2010-2020 by TnmuJoy
	@created:	16-10-2011   22:58
	@filename: 	Builder.hxx
	@author:	limiko lau(limiko.lau@gmail.com)
	@desc:		
*********************************************************************/
#ifndef TNMUJOY_GDUT_DESIGNPATTERN_BUILDER_H_
#define TNMUJOY_GDUT_DESIGNPATTERN_BUILDER_H_

namespace tnmujoy
{
namespace gdut
{

template<class T>
class Builder
{
public:
    T* getProduct()
    {
        return product_;
    }
protected:
private:
    T* product_;
};

class Director
{
public:
    static Builder* Construct(Builder* _builder)
    {
        return _builder;
    }
protected:
private:
};
}//namespace gdut
}//namespace tnmujoy

#endif //TNMUJOY_GDUT_DESIGNPATTERN_BUILDER_H_